<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<title>机场地服监控系统</title>
<link rel="stylesheet" type="text/css" th:href="@{/webjars/bootstrap/3.3.5/css/bootstrap-theme.min.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/webjars/bootstrap/3.3.5/css/bootstrap.min.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/common.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/login.css}"/>
<script type="text/javascript" th:src="@{/webjars/jquery/1.11.1/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/webjars/bootstrap/3.3.5/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/webjars/angularjs/1.5.5/angular.min.js}"></script>
<script type="text/javascript" th:src="@{/webjars/angularjs/1.5.5/angular-resource.min.js}"></script>
<script type="text/javascript" th:src="@{/js/common/bootbox.js}"></script>
<script type="text/javascript" th:src="@{/js/common/Util.js}"></script>
<script type="text/javascript" th:src="@{/js/login/LoginModule.js}"></script>
<script type="text/javascript" th:src="@{/js/login/LoginService.js}"></script>
<script type="text/javascript" th:src="@{/js/login/LoginController.js}"></script>
</head>
<body ng-app="app" ng-controller="loginCtrl">

<!--Content-->
<div class="content">
    <div class="login">
        <div class="row">
            <div class="title">
                <span>机场地服监控系统</span>
            </div>
            <div   align="center">
                <form id="form" class="form form-horizontal ng-pristine ng-valid" action="login" method="post">
                    <div class="login-content form-group input-group " >
                        <span class="input-group-addon" style="width:50px;height:45px;">
                            <i class="glyphicon glyphicon-user"></i>
                        </span>
                        <input id="username" class="username form-control" type="text" name="username" ng-model="username" ng-keyup="enterEvent($event)" autocomplete="new-password"/>
                    </div>
                    <div class="login-content form-group input-group " >
                        <span class="input-group-addon" style="width:50px;height:45px;">
                            <i class="glyphicon glyphicon-lock"></i>
                        </span>
                        <input id="password" type="password" class="username form-control"  name="password" ng-model="password" ng-keyup="enterEvent($event)" autocomplete="new-password"/>
                    </div>
                    <div id="error">
                        <span th:text="${errorMsg}"></span>
                    </div>
                    <div class="form-group">
                        <button type="submit" class="submit" ng-click="login()">登录</button>
                    </div>

                </form>
            </div>
        </div>

    </div>

    <div class="logo">
        <span style="display: block ">Copyright © 民航数据通信有限责任公司</span>
        <span style="display: block ">版本号：1.0.1</span>
    </div>
</div>
</body>
</html>
